home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / sound / rukc10.zip / BORLAND.ZIP / BCFIX.BAT next >
DOS Batch File  |  1993-03-06  |  1KB  |  31 lines

  1. @echo off
  2. cls
  3. echo.
  4. echo Borland fix patch. 06-Mar-93.
  5. echo.
  6. echo LIB.EXE needs to be in the PATH and RUCKDAC.LIB, RUCKMIDI.LIB,
  7. echo DACMEMBC.OBJ and MIDMEMBC.OBJ need to be in the current directory.
  8. echo.
  9. echo This patch will create two new LIB files: BUCKDAC.LIB and BUCKMIDI.LIB.
  10. echo These files are exactly the same as the original LIBs except that the
  11. echo memory allocation module is replaced with one that uses _malloc rather
  12. echo than DOS INT48 for memory allocations.
  13. echo.
  14. echo If all is not ready press Ctrl-C to exit to DOS or, if all is go...
  15. pause
  16. echo.
  17. if not exist ruckdac.lib goto nogo
  18. if not exist ruckmidi.lib goto nogo
  19. lib ruckdac -dacmem +dacmembc,nul,BUCKDAC;
  20. if errorlevel==1 goto nogo
  21. lib ruckmidi -midimem +midmembc,nul,BUCKMIDI;
  22. if errorlevel==1 goto nogo
  23. echo.
  24. echo BUCKDAC.LIB and BUCKMIDI.LIB created.
  25. goto done
  26. :nogo
  27. echo.
  28. echo Error! New LIBs were not created properly.
  29. if exist BUCKDAC.LIB del BUCKDAC.LIB
  30. if exist BUCKMIDI.LIB del BUCKMIDI.LIB
  31. :done